import React, { useEffect } from 'react'

import styles from './index.module.css'

function PageLoading() {


    //[]空数组相当于componentDidMount
    useEffect(() => {

        //返回的函数相当于unmountComponentAtNode
        return () => {

        }
    }, []);

    return (
        <div>
            正在加载...
        </div>
    )
}


export default PageLoading

